Fire (`Fire')
The fire effect simulates a fire by generating a number of individual flames of randomized appearance. You can control various parameters that define how the flames are generated and how they change over time.
Example:
The Fire effect takes no sources and has four parameters.
Parameters
Name
|
Code
|
Type
|
Description
|
Spread Rate
|
`sprd'
|
Long
|
How quickly the fire expands to its highest level from its starting point. The higher the value, the more quickly the fire starts up and reaches its maximum burn rate.
|
Sputter Rate
|
`decy'
|
Long
|
How quickly the flames die down as they move up the screen. Low numbers result in very tall flames, high numbers in very low flames.
|
Water Rate
|
`watr'
|
Long
|
How often "water" is tossed on the base of the fire, instantly putting out the fire at that point. High numbers result in a fire that's very broken up (i.e. many areas of burning and non-burning) while lower numbers result in a wider, smoother fire.
|
Restart Rate
|
`rset'
|
Long
|
How often entire fire is put out, and allowed to restart.
|
© 1997 Apple Computer, Inc.| Previous | Chapter contents | Chapter top | Section top | Next |